waf_violation

Configuration for WAF Violation resource.

Read/write properties

attack_category_desc<String>

Attack Category Description.

attack_category<Integer>

attack_category.

country_code<String>

country_code.

iprep_score<Integer>

Reputation Score of IP.

city<String>

city.

iprep_category<Integer>

category of IP.

session_id<String>

session_id.

violation_location<Integer>

violation location..

app_threat_index<Integer>

violation threat index..

attack_time<Double>

Attack time..

violation_action_desc<String>

violation action description.

violation_action<Integer>

action..

counter_value<Double>

TCP counter values ..

rpt_sample_time<Double>

Report Sample time..

violation_type_desc<String>

violation Type Description.

transactionid<Double>

transactionid..

violation_category_desc<String>

violation_category_desc..

source_ip_address<Double>

Server Source IP Address.

true_client_ip<String>

True Client IP Address.

ctnsappname<String>

AppName.

transformed_flags<Double>

transformed_flags..

severity_type_desc<String>

severity type description.

violation_location_desc<String>

violation location description.

block_flags<Double>

block_flags..

longitude<Double>

longitude.

http_method<Integer>

HTTP Method..

source_ipv6_address<String>

Field to store the client ipv6 address.

violation_name<String>

Violation Name..

iprep_category_desc<String>

Description of category.

severity_type<Integer>

severity_type..

appname<String>

App Name.

http_req_url<String>

HTTP Request URL..

profile_name<String>

profile_name.

violation_value<String>

Violation value..

not_blocked_flags<Double>

block_flags..

severity<Integer>

severity..

latitude<Double>

latitude.

violation_threat_index<Integer>

violation threat index..

violation_type<Integer>

violation_type.

ip_address<String>

Field to store the ip address as it is along with any extension.

total_attacks<Double>

Total attacks to this APP in given sampled timeframe..

region_code<String>

region_code.

violation_category<Integer>

violation_category..

signature_category<String>

signature_category.

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

get (all)

get (all)

URL:https://<MGMT-IP>/macro/v1/security/waf_violation

Query-parameters:

report_end_time

Use this query-parameter to specify the end time until where summary for report is considered.

Possible Values:

report_start_time

Use this query-parameter to specify the start time from which the summary for report is considered.

Possible Values:

type

Use this query-parameter to specify the type of report.

Possible Values:detail, timeseries, summary, summary_by_type, summary_by_action, summary_by_geo, list_of_violations, summary_by_severity, summary_by_category, summary_by_geo_severity, timeseries_by_type, timeseries_by_category, top_apps

HTTPS Method:GET

HTTPS Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "waf_violation":[{
      "attack_category_desc":<String_value>,
      "attack_category":<Integer_value>,
      "country_code":<String_value>,
      "iprep_score":<Integer_value>,
      "city":<String_value>,
      "iprep_category":<Integer_value>,
      "session_id":<String_value>,
      "violation_location":<Integer_value>,
      "app_threat_index":<Integer_value>,
      "attack_time":<Double_value>,
      "violation_action_desc":<String_value>,
      "violation_action":<Integer_value>,
      "counter_value":<Double_value>,
      "rpt_sample_time":<Double_value>,
      "violation_type_desc":<String_value>,
      "transactionid":<Double_value>,
      "violation_category_desc":<String_value>,
      "source_ip_address":<Double_value>,
      "true_client_ip":<String_value>,
      "ctnsappname":<String_value>,
      "transformed_flags":<Double_value>,
      "severity_type_desc":<String_value>,
      "violation_location_desc":<String_value>,
      "block_flags":<Double_value>,
      "longitude":<Double_value>,
      "http_method":<Integer_value>,
      "source_ipv6_address":<String_value>,
      "violation_name":<String_value>,
      "iprep_category_desc":<String_value>,
      "severity_type":<Integer_value>,
      "appname":<String_value>,
      "http_req_url":<String_value>,
      "profile_name":<String_value>,
      "violation_value":<String_value>,
      "not_blocked_flags":<Double_value>,
      "severity":<Integer_value>,
      "latitude":<Double_value>,
      "violation_threat_index":<Integer_value>,
      "violation_type":<Integer_value>,
      "ip_address":<String_value>,
      "total_attacks":<Double_value>,
      "region_code":<String_value>,
      "violation_category":<Integer_value>,
      "signature_category":<String_value>}]}